 package srdb.migration.dbhandler.redwood;
 
  
 import java.io.InputStream;
import java.sql.SQLException;

import srdb.migration.Utility;
import srdb.migration.common.IMTKConnection;
import srdb.migration.common.MTKData;
 
 public class Data extends MTKData
 {
   private static IMTKConnection conn = null;
 
   public Data(IMTKConnection conn, int cpBatchSize)
   {
     this.conn = conn;
     this.dbConn = conn.getConnection();
     if (cpBatchSize != 0) {
       MaxBufferSize = 1048576 * cpBatchSize;
     }
 
     try
     {
       String prm_NLS_CHARACTERSET_Value = conn.getDBServerParamValue("NLS_CHARACTERSET");
 
       if (prm_NLS_CHARACTERSET_Value != null) {
         if (prm_NLS_CHARACTERSET_Value.equalsIgnoreCase("WE8ISO8859P15"))
         {
           this.sourceDBNamedCharSet = "ISO-8859-15";
         } else if (prm_NLS_CHARACTERSET_Value.equalsIgnoreCase("US7ASCII"))
           this.sourceDBNamedCharSet = "US-ASCII";
       }
     }
     catch (SQLException sqle)
     {
       Utility.getLogger().warn(sqle.getMessage());
     }
   }
 
   public void setTableData(String tableName, InputStream pis, char copyDelimiter) throws Exception
   {
   }
 
   public int setTableDataViaDBLinkOra(String tableName, String targetSchema, String targetTable, boolean truncate) throws SQLException {
     throw new UnsupportedOperationException("Not supported yet.");
   }
 }

/* 

 * 
 */